package com.toommi.refuse.mapper;

import com.toommi.refuse.entity.PageImages;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: IndexImagesMapper
 * @Description: TODO
 * @Auther: HuangBo
 * @Date: 2019/9/12 0012 10:55
 */
public interface PageImagesMapper {

    int addImage(PageImages images);

    void updateImageById(PageImages image);

    void deleteImageById(Integer id);

    List<Map<String, Object>> findAllImages();

    PageImages findOneById(Integer id);

    List<PageImages> findAllImagesListByImagepage(@Param(value = "imgpage") Integer imgpage);
}
